<%--
  Created by IntelliJ IDEA.
  User: 云哥
  Date: 2023/5/27
  Time: 16:02
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    Object msg = request.getAttribute("msg");
    String loginMsg=msg==null?"":msg.toString();
%>
<p style="color: red"><%=loginMsg%></p>
<hr>
<form action="servlet/login" method="post">
    账号：<input type="text" name="username" required>
    密码：<input type="text" name="password" required>
    <button type="submit">登录</button>
</form>

</body>
</html>
